/*
 * @Author: 卡卡 1071780426@qq.com
 * @Date: 2023-09-14 12:31:39
 * @LastEditors: 贺楠 1071780426@qq.com
 * @LastEditTime: 2024-11-14 15:25:12
 * @FilePath: \mould\src\components\BehaViorManage\workYear\regexDetail.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export default {
    //规格型号
    formObj: [
        {
            input: true, //是input
            label: "版本代号", //字段
            prop: "versionCode", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '版本代号不能为空'
            }], //验证
        },
        {
            input: true, //是input
            label: "使用单位", //字段
            prop: "companyName", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '使用单位不能为空'
            }], //验证
        },
        {
            input: true, //是input
            label: "版本说明", //字段
            prop: "versionDescription", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '版本说明不能为空'
            }], //验证
        },
        {
            input: true, //是input
            label: "技术支持", //字段
            prop: "technicalSupport", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '技术支持不能为空'
            }], //验证
        },
        {
            radio: true, //是input
            label: "是否启用", //字段
            prop: "isUse", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            options:[{
                label:"是",
                value:"是",
            },{
                label:"否",
                value:"否",
            }],
            rules: [{
                required: false,
                message: '是否启用不能为空'
            }], //验证
        },
        {
            input: true, //是input
            label: "页面标题", //字段
            prop: "remark", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '页面标题不能为空'
            }], //验证
        },
        {
            label: "登录背景图片", //字段
            prop: "companyLogo", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            upload: true,
            uploadSelect: true,
            uploadObj: {
                fileType: "2001",
                limit: 8, //上传长度限制
                hideUpload: false, //是否隐藏上传框
            },
            placeholder:"建议尺寸500x200，白色",
            rules: [{
                required: false,
                message: '登录背景图片'
            }] //验证
        },

    ]
}